<?php

/** @var \Illuminate\Database\Eloquent\Factory $factory */

use App\Models\User;
use Faker\Generator as Faker;

$factory->define(User::class, function (Faker $faker) {
    return [
        'username' => $faker->userName,
        'password' => bcrypt("123"),
        'truename' => $faker->name,
        'email'    => $faker->email,
        'phone'    => $faker->phoneNumber,
        "gender"   => ['男','女'][rand(0,1)],

    ];
});
